//
//  ISwitchViewController.h
//  iSwitchView
//
//  Created by Ronnie on 08-11-4.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "MainAppController.h"
#import "ListController.h"
#import "LoginController.h"

@interface MainWindowController : NSWindowController {
	
	NSViewController *	currentViewController;
	NSView*				loginView;
	NSView *			listView;
	
	LoginController*	loginCtrl;
	ListController*		listCtrl;
	
	MainAppController*	mainAppCtrl;
}

- (void)switchToView:(NSView*)newView;
- (void)processSwitchToListViewNotication:(NSNotification *)notification;
- (void)switchToListView;
- (void)addNotificationResponser;
- (ListController*)getListController;
- (LoginController*)getLoginController;

@end
